﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Fee_Add.aspx.cs" Inherits="User_Fee_Add" MasterPageFile="../MasterPage.master" %>
<%@ Import Namespace="Common" %>
<%@ Register src="User_Left.ascx" tagname="User_Left" tagprefix="uc2" %>

<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <table cellpadding="0" cellspacing="2" width="100%" border="0">
	<tr>
        <td class="leftTd"  valign="top" width="20%">
            <uc2:User_Left ID="User_Left1" runat="server" />
        </td>
		<td width="85%" valign="top">
		<table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
			<tr>
		        <td class="leftTd"  valign="top">
		        <table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
		        	<tr>
		            	<td class="titleStyle"><%= WebUtility.GetTitleByMenu(MenuType) %></td>
		            </tr>
		        </table>
		        <br />
		        <table cellpadding="0" cellspacing="1" width="100%" border="0" style="background:#000066;">
	                <form method="post" action="" name="AddForm" onSubmit="return CheckAddNew()">
	                 <input type="hidden" name="Oper" value="AddNews"> 
		                <tr>
		                    <td class="leftContent">员工：</td>
		                    <td class="RightContent">
		                      <asp:DropDownList ID="txt_MUserKey" runat="server" CssClass="face">
		                        <asp:ListItem Value="" Selected="True">请指定人员</asp:ListItem>
		                      </asp:DropDownList>
		                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                    ControlToValidate="txt_MUserKey" ErrorMessage="请选择员工"></asp:RequiredFieldValidator>
		                    </td>
		                </tr>
		                <tr>
	                        <td class="leftContent">预约单号：</td>
	                        <td class="RightContent">
                            <asp:TextBox ID="txt_DanNum" runat="server" Width="155px" CssClass="face" 
                                    Text=""></asp:TextBox>&nbsp;<a class="thickbox" href="../Business/SelectDanNum.aspx?ParentID=<%= txt_DanNum.ClientID %>&KeepThis=true&TB_iframe=true&height=550&width=800" >选择预约序号</a>    
                            </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">时间：</td>
	                        <td class="RightContent">
                            <asp:TextBox ID="txt_FeeTime" runat="server" Width="70px" CssClass="face" 
                                    Text=""></asp:TextBox>&nbsp;
	                        &nbsp;请点击选择日期!<asp:RequiredFieldValidator ID="RequiredFieldValidator2" 
                                    runat="server" ControlToValidate="txt_FeeTime" ErrorMessage="请选择日期"></asp:RequiredFieldValidator>
                            </td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">交通费：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_TransFee" runat="server" Width="80px" class="face"></asp:TextBox>
	                            <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="经费是大于0的数字" Operator="GreaterThan" 
                                    Type="Currency" ValueToCompare="0" ControlToValidate="txt_TransFee"></asp:CompareValidator>
	                        </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">餐费：</td>
	                        <t餐费：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_FoodFee" runat="server" Width="80px" class="face"></asp:TextBox>
	                            <asp:CompareValidator ID="CompareValidator2" runat="server" 
                                    ControlToValidate="txt_FoodFee" ErrorMessage="经费是大于0的数字" Operator="GreaterThan" 
                                    Type="Currency" ValueToCompare="0"></asp:CompareValidator>
	                        </td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">其他费用：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_OtherFee" runat="server" Width="80px" class="face"></asp:TextBox>
	                            <asp:CompareValidator ID="CompareValidator3" runat="server" 
                                    ControlToValidate="txt_OtherFee" ErrorMessage="经费是大于0的数字" 
                                    Operator="GreaterThan" Type="Currency" ValueToCompare="0"></asp:CompareValidator>
	                        </td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">备注：</td>
	                        <td class="RightContent">
	                        <asp:TextBox ID="txt_Remark" runat="server" Width="247px" class="face" 
                                    TextMode="MultiLine"></asp:TextBox>
	                        </td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent" valign="top" style="padding-top:20px;height:30px;"></td>
	                        <td class="RightContent">
                            <asp:Button ID="btnSubmit" runat="server" Text="添 加" CssClass="button" 
                                    onclick="btnSubmit_Click" />
	                        &nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="重 置" name="btnReset" class="button"></td>
	                    </tr>
	                  </form>  
	                </table>
				</td>
		    </tr>
		</table>
        </td>
    </tr>
</table>
</asp:Content>

